﻿using System.Collections.ObjectModel;
namespace Renci.Data.Interop.OpenGIS.Gml
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml")]
    [System.Xml.Serialization.XmlRootAttribute("CubicSpline", Namespace = "http://www.opengis.net/gml", IsNullable = false)]
    public class CubicSplineType : AbstractCurveSegmentType
    {
        /// <remarks/>
        public CubicSplineType()
        {
            this.Interpolation = CurveInterpolationType.CubicSpline;
            this.Degree = "3";
        }

        private Collection<object> _items = new Collection<object>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("coordinates", Type = typeof(CoordinatesType))]
        [System.Xml.Serialization.XmlElementAttribute("pointProperty", Type = typeof(PointPropertyType))]
        [System.Xml.Serialization.XmlElementAttribute("pointRep", Type = typeof(PointRepType))]
        [System.Xml.Serialization.XmlElementAttribute("pos", Type = typeof(DirectPositionType))]
        [System.Xml.Serialization.XmlElementAttribute("posList", Type = typeof(DirectPositionListType))]
        public Collection<object> Items 
        {
            get
            {
                return this._items;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("vectorAtStart")]
        public VectorType VectorAtStart { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("vectorAtEnd")]
        public VectorType VectorAtEnd { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("interpolation")]
        public CurveInterpolationType Interpolation { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool InterpolationSpecified { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("degree", DataType = "integer")]
        public string Degree { get; set; }
    }
}
